package practice;

public class Account2Tester {
    public static void main(String[] args) {
        Account2 adachi=new Account2("族里","123456x",10000);
        Account2 nakata=new Account2("中田","4345435x",4556667);
        System.out.println("族里的账户");
        System.out.println("账户名:"+adachi.getName()+" "
                +"账号:"+adachi.getNo()+" "
                +"可用余额:"+adachi.getBalance()+" "
                +"标识编号:"+adachi.getId());
        System.out.println("账户名:"+nakata.getName()+" "
                +"账号:"+nakata.getNo()+" "
                +"可用余额:"+nakata.getBalance()+" "
                +"标识编号:"+nakata.getId());
    }
}
